import {commGet} from "@utils/service/index.js";

/**
 * 获取配件池分页数据
 * @param data
 * @returns {Promise<unknown extends (null | undefined) ? unknown : (unknown extends (object & {then(onfulfilled: infer F, ...args: infer _): any}) ? (F extends ((value: infer V, ...args: infer _) => any) ? Awaited<V> : never) : unknown)>}
 */
export function getAccessoryPage(data) {
    return commGet({
        url: `/inventoryPool/part/page`,
        method: 'get',
        data
    })
}
